package cn.south.campus.admin.campus.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 吐槽点赞点踩表
 * </p>
 *
 * @author chow
 * @since 2024-12-05
 */
@TableName("campus_complaint_count")
@Data
public class ComplaintCount implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 业务id
     */
    private Long bizId;

    /**
     * 业务类型 0吐槽,1批量
     */
    private Integer bizType;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 0点赞，1点踩
     */
    private Integer type;

}
